package cz.tpj.database;

import static org.junit.Assert.*;

import org.junit.Test;

import sun.security.jca.GetInstance;

public class DatabaseConnectorTest {

	@Test
	public void testGetInstance() {
		DatabaseConnector o1 = DatabaseConnector.getInstance();		
		
		assertNotNull(o1);
	}

	@Test
	public void testGetConnection() {
		DatabaseConnector o1 = DatabaseConnector.getInstance();		

		assertNotNull(o1.getConnection());
	}
}
